package com.example.dubbo.provider.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.dubbo.api.ResDTO;
import com.example.dubbo.provider.dao.DemoDAO;
import com.outstanding.framework.base.OutstandingService;
import com.outstanding.framework.core.PendingException;




@Service
public class DemoService extends OutstandingService {

	
	@Autowired
	private DemoDAO dao;
	
	
	public List<ResDTO> query() throws PendingException {
		debug("start query");
		return this.dao.query();
	}
}
